package com.longxiao.entity;

import java.util.Date;

public class CpRecord {
    private Integer id;
    //用户ID
    private String userId;
    //用户积分来源
    private String source;
    //评价ID，当由评价获取得到时有记录
    private Integer commentId;
    //排课ID,当上课或缺勤引起的积分有记录
    private String classId;
    //本次获取积分数目(正数获得积分，负数扣除积分)
    private Integer cpScore;
    //积分获取时间
    private Date awardTime;
    //积分备注
    private String remark;
    //创建时间
    private Date createdTime;
    //修改时间
    private Date modifiedTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source == null ? null : source.trim();
    }

    public Integer getCommentId() {
        return commentId;
    }

    public void setCommentId(Integer commentId) {
        this.commentId = commentId;
    }

    public String getClassId() {
        return classId;
    }

    public void setClassId(String classId) {
        this.classId = classId == null ? null : classId.trim();
    }

    public Integer getCpScore() {
        return cpScore;
    }

    public void setCpScore(Integer cpScore) {
        this.cpScore = cpScore;
    }

    public Date getAwardTime() {
        return awardTime;
    }

    public void setAwardTime(Date awardTime) {
        this.awardTime = awardTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Date getModifiedTime() {
        return modifiedTime;
    }

    public void setModifiedTime(Date modifiedTime) {
        this.modifiedTime = modifiedTime;
    }
}